﻿editAreaLoader.load_syntax["cml"] = {		// here <language_abbr> is "css" so the file is "css.js"
	'DISPLAY_NAME': 'CML'		// String:  used to define a better syntax name to display. Used only when using script using compressed version of the script
	, 'COMMENT_SINGLE': []		// Array:  possible single line comments
	, 'COMMENT_MULTI': { '/*': '*/'}	// associated Array: possible multiple line comments 
	, 'QUOTEMARKS': ['"', "'"]		// Array: the different possible quotemarks that delimitate strings
	, 'KEYWORD_CASE_SENSITIVE': false	// Boolean: define if the language is case-sensitive
	, 'KEYWORDS': {				// Array: an array of array containing the different keywords class 
		'keywords': [		
			'and', 'edit', 'add', 'to', 'after', 'before', 'delete', 'update'
		]
		, 'values': [
			'absolute', 'block', 'bold', 'bolder', 'both' 	// etc...
		]
		, 'specials': [
			'important'
		]
	}
	, 'OPERATORS': [		// Array: the operators to highlight (eg, can also contain: +, -, * or / in other languages).
		
	]
	, 'DELIMITERS': [	// Array: the block code delimiters to highlight
		'{', '}'
	]
	,'REGEXPS' : {			
		'xml' : {		
			'search' : '()(<\\?[^>]*?\\?>)()'	// the regexp
			,'class' : 'xml'			// the css class
			,'modifiers' : 'g'			// the modifier ("g" and/or "i")
			,'execute' : 'before'			// "before" or "after". Determine if the regexp must 
								// be done before or after the main highlight process
		}
		,'cdatas' : {
			'search' : '()(<!\\[CDATA\\[.*?\\]\\]>)()'
			,'class' : 'cdata'
			,'modifiers' : 'g'
			,'execute' : 'before' 
		}
		,'tags' : {
			'search' : '(<)(/?[a-z][^ \r\n\t>]*)([^>]*>)'
			,'class' : 'tags'
			,'modifiers' : 'gi'
			,'execute' : 'before' 
		}/*
		,'attributes' : {
			'search' : '( |\n|\r|\t)([^ \r\n\t=]+)(=)'
			,'class' : 'attributes'
			,'modifiers' : 'g'
			,'execute' : 'before'
		}*/
	}
	, 'STYLES': {	// Array: an array of array, containing all style to apply for categories defined before.
		// Better to define color style only. 
		'COMMENTS': 'color: green;'
		, 'QUOTESMARKS': 'color: red;'
		, 'KEYWORDS': {			// contain the associated style foreach keywords categories
			'keywords': 'color: #3333ff;'
			, 'values': 'color: #2B60FF;'
			, 'specials': 'color: #FF0000;'
		}
		, 'OPERATORS': 'color: #FF00FF;'
		, 'DELIMITERS': 'color: #333;'
		,'REGEXPS' : {
			'attributes': 'color: red;'
			,'tags': 'color: #333;'
			,'xml': 'color: #8DCFB5;'
			,'cdata': 'color: #50B020;'
		}

	}
};